<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<h1>登录页面</h1>
    <form action="/login/" method="POST">
        {% csrf_token %}
        姓名：<input type="text" name="username" placeholder="用户名">
        密码：<input type="password" name="password" placeholder="密码">
        <input type="submit" value="登录">
    </form>
<br /><a href="/register/">返回注册页面</a>
</body>
</html>